package com.admin.kotlintest.adapter

import android.content.Context
import com.admin.kotlintest.R
import com.admin.kotlintest.base.AdapterHolder
import com.admin.kotlintest.base.CurrencyAdapter
import com.admin.kotlintest.bean.SubFunction

/**
 * Created by 吴昶 on 2018/4/11.
 */
class SubFunctionAdapter(context: Context,layout:Int,data:MutableList<SubFunction>?):CurrencyAdapter<SubFunction>(context,layout,data){

    override fun convert(holder: AdapterHolder, item: SubFunction, position: Int) {
        holder.setTextViewText(R.id.tv_sub_function,item.subName)
    }

}